package com.cuotigou.mapper;

import com.cuotigou.pojo.SGrade;

import java.util.LinkedList;
import java.util.List;

public interface SGradeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SGrade record);

    int insertSelective(SGrade record);

    SGrade selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SGrade record);

    int updateByPrimaryKey(SGrade record);
    //查询年级
    SGrade selectGradeBygrade(String gtade);
    //查询所有年级
    LinkedList<SGrade> selectGrade();
}